package com.sx.service.utils.sender.model;

import lombok.Data;

/**
 * @author AdinZ
 * @date 2020/11/11 18:14
 * 邮件发送内容实体
 */
@Data
public class MailRequest extends SenderRequest{
    private String subject;
    private String from;
    private String alias;

    public MailRequest(String to,String subject,String content) {
        super.setContent(content);
        super.setTo(to);
        this.subject = subject;
    }
}
